package org.jeecg.modules.demo.com.kunpeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.demo.com.kunpeng.entity.OaFlowRecord;
import org.springframework.stereotype.Repository;

@Repository
public interface OaFlowRecordMapper extends BaseMapper<OaFlowRecord> {


    /**
     * 新增审批记录数据
     * @param oaFlowRecord
     * @return
     */
    /*int insert(OaFlowRecord oaFlowRecord);*/

    /**
     * 根据关联项目费用申请id删除
     */
    void deleteOaFlowRecordByPcaId(String pcaId);

    /**
     * 根据关联项目采购id删除
     */
    void deleteOaFlowRecordByPpId(String ppId);
}
